package com.xbh.management.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.xbh.common.base.BaseEntity;
import com.xbh.management.model.ManMenu;
import com.xbh.management.model.ManRole;
import com.xbh.management.model.ManUser;
import lombok.Data;

import javax.persistence.Column;
import java.util.List;

/**
 * @program: management-center
 * @description:
 * @author: 许宝华
 * @create: 2021-09-29 17:00
 */
@Data
public class ManRoleVO extends BaseEntity {
    @TableId(type = IdType.ASSIGN_ID)
    @Column(name = "role_id")
    private Long roleId;

    @Column(name = "role_name")
    private String roleName;

    @Column(name = "states")
    private Integer states;

    private List<ManUser> userList;

    private List<ManMenu> menuList;
}
